package com.zgg.files.bean;

import java.io.Serializable;
import java.util.Date;

public class OSSFile implements Serializable {

    private String id;
    /**
     * 1:图片  2：文件
     */
    private Integer filetype;

    private String fname;

    private String fpath;

    private Date addtime;

    private Integer adduserid;
    //    用户类型（1、普通用户、2后台操作人员）
    private Integer addusertype;

    private Date updatetime;

    private Integer updateuserid;
    //    用户类型（1、普通用户、2后台操作人员）
    private Integer updateusertype;

    /**
     * 0：正常  1：封禁
     */
    private Integer status;

    /**
     * 文件大小
     */
    private Long size;

    private String pathcode;




    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getFiletype() {
        return filetype;
    }

    public void setFiletype(Integer filetype) {
        this.filetype = filetype;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getFpath() {
        return fpath;
    }

    public void setFpath(String fpath) {
        this.fpath = fpath;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Integer getAdduserid() {
        return adduserid;
    }

    public void setAdduserid(Integer adduserid) {
        this.adduserid = adduserid;
    }

    public Integer getAddusertype() {
        return addusertype;
    }

    public void setAddusertype(Integer addusertype) {
        this.addusertype = addusertype;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(Integer updateuserid) {
        this.updateuserid = updateuserid;
    }

    public Integer getUpdateusertype() {
        return updateusertype;
    }

    public void setUpdateusertype(Integer updateusertype) {
        this.updateusertype = updateusertype;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }


    public String getPathcode() {
        return pathcode;
    }

    public void setPathcode(String pathcode) {
        this.pathcode = pathcode;
    }

    @Override
    public String toString() {
        return "OSSFile{" +
                "id='" + id + '\'' +
                ", filetype='" + filetype + '\'' +
                ", fname='" + fname + '\'' +
                ", fpath='" + fpath + '\'' +
                ", addtime=" + addtime +
                ", adduserid=" + adduserid +
                ", addusertype=" + addusertype +
                ", updatetime=" + updatetime +
                ", updateuserid=" + updateuserid +
                ", updateusertype=" + updateusertype +
                ", status=" + status +
                ", size=" + size +
                ", pathcode='" + pathcode + '\'' +
                '}';
    }
}
